Myoelectric pattern recognition prosthesis